package com.bRoom.common;

public class Conts {

    public  static  final  String CURRENT_USER="CURRENT_USER";

    public  static  final  String HOTEL_MESAGE="HOTEL_MESAGE";

    public  interface  ROLE{
         int ROLE_USER=0;
         int ROLE_ADMIN=1;
         int ROLE_SUPPER=2;
    }

    public  enum  ROOM_STATUS{

         ROOM_STOP(1,"房间停用"),
         ROOM_BE_SELL(2,"房间在线"),
        ROOM_BE_BOOK(3,"房间被预定"),
        ROOM_BE_CHECK_IN(4,"房间被入住"),
        ROOM_BE_OUT(5,"退房中");

         private  int code;
         private  String desc;

        ROOM_STATUS(int code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }


    public  enum CATEGORY_TYPE{
           USERING(1,"正在使用"),
           STOPING(2,"停止使用");

           private int code;
           private String desc;

        CATEGORY_TYPE(int code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
    public  enum ROOM_TYPE{

          HAO_HUA_DAN(1,"豪华间单人间"),
          HAO_HUA_SHUANG(2,"豪华双人间"),
          jing_ji_dan(3,"经济单人间"),
          Jing_ji_shuang(4,"经济双人间");

          private  int code;
          private  String desc;

        ROOM_TYPE(int code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
}
